﻿using MenuService.Menu.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Services;

namespace MenuService.Menu
{
    public interface IAbpMenuAppService : IApplicationService
    {
        Task<MenuDto> CreateMenuAsync(MenuCreateOrUpdateDto input);
        Task DeleteMenuAsync(Guid id);
        Task<MenuDto> UpdateMeunAsync(Guid id, MenuCreateOrUpdateDto input);
        Task<List<MenuDto>> GetListAsync();

        /// <summary>
        /// 获取当前用户菜单
        /// </summary>
        /// <returns></returns>
        Task<List<MenuDto>> GetCurrentUserMenuAsync();
    }
}
